<div id="page_content">
    <h2><?php echo $this->t->_("Backups") ?></h2>
    <div id="pages_list">
        
            <?php 
            if (count($this->backups) > 0) {
            echo '<ul>';
            foreach ($this->backups as $key => $v) {
 ?>
                <li>
                    <div class="i_mod i_database">
                        <a href="#"><?= date($this->config->time, $v) ?></a>
                        <a href="<?= ADMIN_URL . '/settings/backups/a/restore/time/' . $v ?>" title="<?= $this->t->_('Restore') ?>" class="nav_button restore_button"></a>
                        <a href="#" id="<?= ADMIN_URL . '/settings/backups/a/remove/time/' . $v ?>" title="<?= $this->t->_('Delete') ?>" id="delete_action" class="nav_button delete_button"></a>
                        &nbsp;
                    </div>
                </li>
            <?php } 
                echo '</ul>';
            } else {
                echo $this->t->_('Backups not found');
            }
?>
        
    </div>
</div>
<div id="sidebar">
    <a href="<?= ADMIN_URL ?>/settings/backups/a/backup/" class="sidebar_button add_button"><?= $this->t->_('New backup') ?></a>
</div>

